<?php

namespace app\modules\admin\controllers;

use Yii;
use app\models\Product;
use app\models\ProductSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;

/**
 * ProductController implements the CRUD actions for Product model.
 */
class ProductController extends Controller
{
    public function actionIndex()
    {
        return $this->render('index');
    }

    public function actionChange($id = 0)
    {
        return $this->render('change', [
            'id' => $id
        ]);
    }
}
